package com.example.testview;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.*;
import android.widget.Button;


public class TestLinearActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_test_linear);
		Button bt=(Button) findViewById(R.id.btn_exix);
		bt.setOnClickListener(new View.OnClickListener() {
	        @Override
	        public void onClick(View view) {
	        	Intent intent=new Intent();
	        	intent.setClass(TestLinearActivity.this ,TestViewActivity.class);
	        	startActivity(intent);	
	        }
	    });

}
	
}
